package com.kim.smartring.db.model;

import java.io.Serializable;

public class HeartRateRecord implements Serializable {

	private int _id;
	private String hid; // 心率数据记录唯一标识ID
	private int hValue; // 心率值
	private long hTime; // 心率测试时间
	private long synchronousTime; // 心率数据所属日期
	private int hSyncState; // 心率数据同步状态（0：未同步；1：同步成功）

	private String yearMonth; // 记录年月 格式：yyyy-mm
	private String day; // 记录日期 格式dd

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getHid() {
		return hid;
	}

	public void setHid(String hid) {
		this.hid = hid;
	}

	public int gethValue() {
		return hValue;
	}

	public void sethValue(int hValue) {
		this.hValue = hValue;
	}

	public long gethTime() {
		return hTime;
	}

	public void sethTime(long hTime) {
		this.hTime = hTime;
	}

	public int gethSyncState() {
		return hSyncState;
	}

	public void sethSyncState(int hSyncState) {
		this.hSyncState = hSyncState;
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public long getSynchronousTime() {
		return synchronousTime;
	}

	public void setSynchronousTime(long synchronousTime) {
		this.synchronousTime = synchronousTime;
	}

	@Override
	public String toString() {
		return "HeartRateRecord [_id=" + _id + ", hid=" + hid + ", hValue="
				+ hValue + ", hTime=" + hTime + ", synchronousTime="
				+ synchronousTime + ", hSyncState=" + hSyncState
				+ ", yearMonth=" + yearMonth + ", day=" + day + "]";
	}

}
